﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ManageATrois
{
    public partial class FolderMoveProgress : Form
    {
        public FolderMoveProgress()
        {
            InitializeComponent();
        }

        public void UpdateFolders(string source, string dest)
        {
            sourceFolderLabel.Text = "Source Folder: " + source;
            destFolderLabel.Text = "Dest Folder: " + dest;
            
            this.Invalidate( true );
            this.Update();
        }

        public void UpdateStep(int step)
        {
            step1Label.Font = new Font(step1Label.Font, FontStyle.Regular);
            step2Label.Font = new Font(step2Label.Font, FontStyle.Regular);
            step3Label.Font = new Font(step3Label.Font, FontStyle.Regular);

            switch (step)
            {
                default:
                case 1:
                    step1Label.Font = new Font(step1Label.Font, FontStyle.Bold);        
                    break;
                case 2:
                    step2Label.Font = new Font(step2Label.Font, FontStyle.Bold);        
                    break;
                case 3:
                    step3Label.Font = new Font(step3Label.Font, FontStyle.Bold);        
                    break;
            }

            this.Invalidate(true);
            this.Update();
        }
    }
}
